Repository navigation
feat(redis): support configurable editor storage topologies - #11
Closed
nvanlaerebeke wants to merge 7 commits into
Closed
nvanlaerebeke wants to merge 7 commits into
nvanlaerebeke wants to merge 7 commits into
Conversation
- Add standalone, Sentinel, and Cluster editor storage configuration - Validate shared Redis topology and authentication settings - Centralize Redis secret environment variables across workloads and tests - Add Redis configuration Helm tests and example values - Update documentation and deployment test coverage Assisted-by: ChatGPT 5.6 Signed-off-by: Nico Van Laerebeke <1520618+nvanlaerebeke@users.noreply.github.com>
Signed-off-by: Nico Van Laerebeke <1520618+nvanlaerebeke@users.noreply.github.com>
- Add independent TLS settings for Redis nodes and Sentinel discovery - Use TLS in connectivity checks and validate generated TLS configuration - Pass the explicit memory statistics backend to DocumentServer - Validate editor data and statistics storage independently - Document TLS settings and required image support Assisted-by: Codex:GPT-6 Signed-off-by: Nico Van Laerebeke <1520618+nvanlaerebeke@users.noreply.github.com>
- Apply the configured service account and security contexts - Respect test scheduling settings and global fallbacks - Include test annotations, resource limits, and init containers Assisted-by: Codex:GPT-6 Signed-off-by: Nico Van Laerebeke <1520618+nvanlaerebeke@users.noreply.github.com>
Allow optional usernames while preserving existing defaults and independent NoPass behavior. Expand authentication coverage across standalone, Sentinel, and Cluster, and document password-only authentication. Assisted-by: Codex:GPT-6 Signed-off-by: Nico Van Laerebeke <1520618+nvanlaerebeke@users.noreply.github.com>
Add a shared CA Secret setting for Redis and Sentinel TLS. Mount the bundle and configure trust in application and connectivity test containers, avoiding duplicate configuration. Document shared trust settings and add regression tests. Assisted-by: Codex:gpt-6 Signed-off-by: Nico Van Laerebeke <1520618+nvanlaerebeke@users.noreply.github.com>
Contributor
|
Superseded by #25, which carries this work forward on top of chart 7.0.0 (rebased/merged with main) and the current dev/redis entrypoint. Thanks for the original implementation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Added Helm chart support for Redis-backed editor data and statistics storage using the native Redis configuration variables introduced in:
The chart now supports:
If
editorStatStorageis omitted, editor statistics use the same storage backend and Redis topology aseditorDataStorage.Set it explicitly to
memoryto enable Redis-backed editor data only.Changes
redisConnectorName: ioredisSentinel switch.EDITOR_DATA_STORAGEandEDITOR_STAT_STORAGEvariables.Prerequisites
Testing this might also requires the following PRs depending how you do the testing:
Validation
helm lint .bash -n sources/scripts/test_redis_config.sh.Testing
Tested with a DocumentServer image built from DocumentServer#386, including the server changes from server#46.
The following configurations were manually tested:
Helm tests
The chart includes
test_redis_config.sh, which is executed byhelm testfor Sentinel and Cluster configurations. It validates the generated nativeNODE_CONFIG, including topology, database, and authentication settings.Redis connectivity and DocumentServer health are validated separately by the existing Helm test.